<%@ page isELIgnored="false" language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>


<script type="text/javascript">
    $(function(){
        $("#cmfzAllUserlist").datagrid({
            fit:"true",
            pagination:"true",
            url:"${pageContext.request.contextPath}/User/selectAllUser.do",
            columns:[[
                {field:'userId',checkbox:"true"},
                {field:'userTelphone',title:'电话'},
                {field:'userPassword',title:'密码'},
                {field:'userImage',title:'头像',formatter: function(value,row,index){
                    return "<img style='width:32px;height:32px;' border='1' src='${pageContext.request.contextPath}/img/userImage/"+row.userImage+"'/>";
                }
                },
                {field:'userNickname',title:'法号'},
                {field:'userName',title:'姓名'},
                {field:'userSex',title:'性别'},
                {field:'userAutograph',title:'**'},
                {field:'userProvince',title:'--'},
                {field:'userCity',title:'地址'},
                {field:'gurnId',title:'Price',align:'right'}
            ]]
        });
    });

</script>



<table id="cmfzAllUserlist" class="easyui-datagrid" style="width:400px;height:250px">

</table>
